//
//  HeartFiveView.h
//  B2C
//
//  Created by xiaowu on 2017/7/31.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, HeartType) {
    HeartTypeForNormal,
    HeartTypeForLittle
};

typedef void(^HeartClick)(NSInteger tag);

@interface HeartFiveView : UIView

@property (nonatomic, assign) BOOL canEdit;
@property (nonatomic, copy) HeartClick block; // 先加个点击事件放着
@property (nonatomic, assign) NSInteger selectCount;

+ (CGSize)getFiveHeartViewSizeWithPoint:(CGFloat)point withType:(HeartType)type;
- (void)setImageViewWithPoint:(CGFloat)point withType:(HeartType)type;


@end
